<?php

return [
    'm_assets_base_uri' => '/',
    'pc_assets_base_uri' => '/',
    'upload_base_uri' => '/upload/',
    'fe_base_uri' => '/fe/',
    'clientOption' => [
        'host' => [
            'api' => 'http://api.cdfex.com',
            'frontend' => 'http://u.cdfex.com/',
            'wap' => 'http://m.cdfex.com/',
            'app' => 'http://m.cdfex.com/',
            'tx' => 'http://api.cdfex.com/',
            'tx_www' => 'http://api.cdfex.com/',
        ],
    ],

    'wdjf_security_key' => __DIR__ . '/payment/security/wdjf_dev.key', // 同级目录有个wdjf_dev.key可以使用

    'pc_cat' => [
        '1' => '南金交',
    ],

    'cfca' => [
        'apiUrl' => 'https://test.cpcn.com.cn/Gateway/InterfaceII',
        'clientKeyExportPass' => 'cfca1234',
    ],

    'enable_verify' => false,
    'mock_sms' => true,
    //用户白名单功能只在mock_sms为true的时候有效，即mock_sms为true时，除了白名单里面设置的手机号，其他手机号一律不发短信
    'sms_white_list' => [
    ],
     /* 债券相关配置信息 */
    'credit' => [
        'hold_days' => 2, //持有天数
        'repeatedly_hold_days' => 0, //债权多次转让时候最低持有天数
        'max_discount_rate' => '0.0300', //最高折让率
        'trade_count_limit' => 100, //可转让次数
        'fee_rate' => '0.003', //手续费费率
        'transfer_period' => 2, //转让周期
        'loan_fenqi_limit' => 1, //分期项目的资产发起转让条件限制，单位：月
        'loan_daoqi_limit' => 30, //不分期（到期本息）项目的资产发起转让条件限制，单位：天
    ],
    'weixin' => [
        'appId' => 'wxdecb79bf4266841a',
        'appSecret' => 'd83596693c72825340fa5743086c10b4',
        'token' => '',
    ],
    'feature_product_risk_audit' => true,
];
